package net.babelphish.altitudesig;

enum SCRAPER_TYPE {
	PROFILE_RAW,
	PROFILE_JSON
}

public class ScraperFactory {
	static DataScraper getDataScraper(SCRAPER_TYPE scraperToGet)
	{
		if (scraperToGet == SCRAPER_TYPE.PROFILE_JSON) {
			return new JSONScraper("http://www.altitudeladder.com/profile_json.php?"); 
		}
		else if (scraperToGet == SCRAPER_TYPE.PROFILE_RAW) {
			return new MainPageScraper("http://www.altitudeladder.com/profile.php?");
		}
		else {
			return null;
		}
	}
}
